package com.example.malltest.cart.mapper;

import com.example.malltest.cart.entity.Cart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CartMapper {

    int save(Cart cart1);

    List<Cart> getList();

    Cart getById(Integer id);

    int delete(Integer id);
}
